[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 insline()                Insert Blank Line in Text Window

 #include   <conio.h>

 void       insline(void);

    insline() inserts a blank line in the text window at the current
    cursor position. The current text background color is used. All the
    lines that were at and below the cursor move down one line. The
    bottom line scrolls off the bottom of the screen.

       Returns:     Nothing.

   Portability:     IBM PC and compatibles only.

   -------------------------------- Example ---------------------------------

    The following statements print nine lines of characters then insert a
    blank line at the fifth line.

           #include <conio.h>

           main()
           {
               int x, y;

               gotoxy(1,1);
               for (y = 0; y < 9; y++) {
                   for (x = 0; x < 19; x++)
                       printf("%c",65+y);
                   printf("\n");
               }
               getch();
               gotoxy(1,5);
               insline();
           }



See Also: clreol() delline() window()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson